package com.runfast.waimai.dao.model;

import java.io.Serializable;

public class RunfastSafetyrecordimg implements Serializable {
    private Integer id;

    private Integer busid;

    private String imgurl;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastSafetyrecordimg withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusid() {
        return busid;
    }

    public RunfastSafetyrecordimg withBusid(Integer busid) {
        this.setBusid(busid);
        return this;
    }

    public void setBusid(Integer busid) {
        this.busid = busid;
    }

    public String getImgurl() {
        return imgurl;
    }

    public RunfastSafetyrecordimg withImgurl(String imgurl) {
        this.setImgurl(imgurl);
        return this;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl == null ? null : imgurl.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", busid=").append(busid);
        sb.append(", imgurl=").append(imgurl);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}